let input = document.querySelector("input");
function f(x) {
  let url = x == 1 ? "../2.webp" : "../day01/1.gif";
  for (let i = 0; i < input.value; i++) {
    let img = document.createElement("img");
    img.src = url;
    document.body.append(img);
  }
}
